package interfacetest;

import java.util.function.Supplier;

public class SupplierTest {
    public static void main(String[] args) {
        Integer hand = hand(100, () -> 23);
        System.out.println(hand);
    }

    public static Integer hand(Integer number , Supplier<Integer> supplier){
        return supplier.get();
    }
}
